<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>商家订单</title>
		<script src="__INDEX__/store/js/mui.min.js"></script>
		<link href="__INDEX__/store/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="__INDEX__/store/css/iconfont.css" />
		<link rel="stylesheet" href="__INDEX__/store/css/style.css" />
		<link rel="stylesheet" href="__INDEX__/store/css/sjhout.css" />
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a href="{:url('agent/index')}" class=" mui-icon mui-icon-left-nav mui-pull-left" id='up_page'></a>
			<h1 class="mui-title">订单</h1>
		</header>
		<div class="mui-content recharge_content">
			<div class="order_nav">
				<div id="segmentedControl" class="mui-segmented-control">
					<a class="mui-control-item {if $status==0} mui-active{/if}" href="{:url('order/orders')}">全部</a>
					<a class="mui-control-item {if $status==1} mui-active{/if}" href="{:url('order/orders',['status'=>1])}">待付款</a>
					<a class="mui-control-item {if $status==4} mui-active{/if}" href="{:url('order/orders',['status'=>4])}">待消费</a>
					<a class="mui-control-item {if $status==5} mui-active{/if}" href="{:url('order/orders',['status'=>5])}">已完成</a>
					<a class="mui-control-item {if $status==6} mui-active{/if}" href="{:url('order/orders',['status'=>6])}">已评价</a>
				</div>
			</div>
			<div class="order_listbox">
				<div id="item1" class="mui-control-content mui-active">
					<div class="order_item">
						{if $order_list==null}
						<div>
							<p><img style="width: 140px;height: 140px;margin: 0 auto;padding: 10px;" src="__INDEX__/images/none.png" /></p>
							<p style="width:100%;text-align: center;">没有订单信息</p>
						</div>
						{/if}
						{volist name="order_list" id="order_info"}
						<div class="order_item_nam clearfix">订单号：<em>{$order_info['sn']}</em></div>
						<ul class="order_item_list">
							<li class="clearfix">
								<div class="order_item_spimg">
									<a href="../goodsshow.html?goods_id={$order_info.goods_id}"><img src="{$order_info.thumb}"></a>
								</div>
								<div class="order_item_spinfo">
									<div class="order_item_spnambox clearfix">
										<div class="order_itspnam">{$order_info.goods_name}</div>
										<div class="pay_spnum">X{$order_info.goods_num}</div>
									</div>
									<div class="ord_sp_sx">属性：<em>大份</em></div>
									<div class="ord_sp_pri">价格：<em>¥{$order_info.sale_price}</em></div>
								</div>
							</li>
							<!--<div class="order_item_btnbox clearfix">
							<a href="#">详情</a>
							<a href="" class="active">删除</a>
							</div>-->
						</ul>
						{/volist}
					</div>

				</div>
			</div>
		</div>
	</body>

</html>